package com.whacos.modules.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.whacos.common.entity.BaseEntity;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author xiongdun
 * @description 系统日志
 * @since 2018/11/17 17:11
 */
@TableName(value = "t_sys_role")
@Data
@ToString
public class SysRole extends BaseEntity {

    private static final long serialVersionUID = -7163494153698090325L;
    // 父级ID
    private Long parentId;
    // 角色名
    private String roleName;
    // 角色代码
    private String roleCode;
    // 角色标记
    private String sign;

    // 角色状态
    private Integer status;

    @TableField(exist = false)
    private List<Long> menuIds;

}
